package com.cec.exception;

import com.cec.result.ResultCode;
import lombok.Getter;

@Getter
public class BaseException extends RuntimeException {
    private ResultCode resultCode;
    public BaseException() {
    }

    public BaseException(ResultCode resultCode) {
        super(resultCode.getMsg());
        this.resultCode = resultCode;
    }
}
